{php include pubTemplate("header_admin")}

<!--main-->
<div class="midder">

{php include template("admin/menu");}

<div class="page">{$pageUrl}</div>

<table class="table table-hover">


    <thead class="thead-light">
    <tr><th>ID</th><th>UserID</th><th>内容</th><th>操作</th></tr>
    </thead>



    <tbody>

    {loop $arrWeibo $key $item}
    <tr><td>{$item['weiboid']}</td><td>{$item['userid']}</td><td>{$item['title']}

        {if $item['photo']}
        <div>
            {loop $item['photo'] $pkey $pitem}
            <img height="100" src="{SITE_URL}uploadfile/weibo/photo/{$pitem['photo']}">
            {/loop}
        </div>
        {/if}

    </td><td>


        <a href="{SITE_URL}index.php?app=weibo&ac=admin&mg=weibo&ts=isaudit&weiboid={$item['weiboid']}">
            {if $item['isaudit']==0}
            [取消审核]
            {else}
            <font color="red">[审核]</font>
            {/if}
        </a>


        <a href="{SITE_URL}index.php?app=weibo&ac=admin&mg=weibo&ts=delete&weiboid={$item['weiboid']}">[删除]</a>


    </td></tr>
    {/loop}

    </tbody>




</table>

</div>

{php include pubTemplate("footer_admin")}